package com.huangwei.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@ToString
@ApiModel("用户地址")
public class UserAddress implements Serializable {
    @ApiModelProperty("地址ID")
    private Integer addressId;
    @ApiModelProperty("省份")
    private String province;
    @ApiModelProperty("城市")
    private String city;
    @ApiModelProperty("区/县")
    private String area;
    @ApiModelProperty("详细地址")
    private String address;
    @ApiModelProperty("邮编")
    private Integer postCode;
    @ApiModelProperty("用户")
    private User user;
}
